package com.yiyahui.project.erp.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yiyahui.framework.aspectj.lang.annotation.Excel;
import com.yiyahui.framework.web.domain.BaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * tc回访对象 yiya_visit_tc
 * 
 * @author yiyahui
 * @date 2020-06-24
 */

@ApiModel(value="tc回访对象")
public class YiyaVisitTc extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 门诊患者id */
    @ApiModelProperty(value="门诊患者id")
    @Excel(name = "门诊患者id")
    private Long clinicPersonId;

    /** 门诊id */
    @ApiModelProperty(value="门诊id")
    @Excel(name = "门诊id")
    private Long clinicId;

    /** 门诊名称 */
    @ApiModelProperty(value="门诊名称")
    @Excel(name = "门诊名称")
    private String clinicName;

    /** 回访人员 */
    @ApiModelProperty(value="回访人员")
    @Excel(name = "回访人员")
    private String visitPerson;

    /** 跟踪状态 1.跟踪中 2.跟踪完成 3.跟踪结束 */
    @ApiModelProperty(value="跟踪状态 1.跟踪中 2.跟踪完成 3.跟踪结束")
    @Excel(name = "跟踪状态 1.跟踪中 2.跟踪完成 3.跟踪结束")
    private Integer trackStatus;

    /** 消费状态 1.未消费 2.只交储值 3.未完成 4.完成 */
    @ApiModelProperty(value="消费状态 1.未消费 2.只交储值 3.未完成 4.完成")
    @Excel(name = "消费状态 1.未消费 2.只交储值 3.未完成 4.完成")
    private Integer consumeStatus;

    /** 回访内容 */
    @ApiModelProperty(value="回访内容")
    @Excel(name = "回访内容")
    private String contet;

    /** 回访结果 */
    @ApiModelProperty(value="回访结果")
    @Excel(name = "回访结果")
    private String result;

    /** 回访时间 */
    @ApiModelProperty(value="回访时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "回访时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date visitTime;

    /** 计划回访时间 */
    @ApiModelProperty(value="计划回访时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "计划回访时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date visitPlanTime;

    /** 完成回访时间 */
    @ApiModelProperty(value="完成回访时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "完成回访时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date visitFinishTime;

    /** 回访状态 1.待计划 2.回访完成 */
    @ApiModelProperty(value="回访状态 1.待计划 2.回访完成")
    @Excel(name = "回访状态 1.待计划 2.回访完成")
    private Integer visitStatus;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setClinicPersonId(Long clinicPersonId) 
    {
        this.clinicPersonId = clinicPersonId;
    }

    public Long getClinicPersonId() 
    {
        return clinicPersonId;
    }
    public void setClinicId(Long clinicId) 
    {
        this.clinicId = clinicId;
    }

    public Long getClinicId() 
    {
        return clinicId;
    }
    public void setClinicName(String clinicName) 
    {
        this.clinicName = clinicName;
    }

    public String getClinicName() 
    {
        return clinicName;
    }
    public void setVisitPerson(String visitPerson) 
    {
        this.visitPerson = visitPerson;
    }

    public String getVisitPerson() 
    {
        return visitPerson;
    }
    public void setTrackStatus(Integer trackStatus) 
    {
        this.trackStatus = trackStatus;
    }

    public Integer getTrackStatus() 
    {
        return trackStatus;
    }
    public void setConsumeStatus(Integer consumeStatus) 
    {
        this.consumeStatus = consumeStatus;
    }

    public Integer getConsumeStatus() 
    {
        return consumeStatus;
    }
    public void setContet(String contet) 
    {
        this.contet = contet;
    }

    public String getContet() 
    {
        return contet;
    }
    public void setResult(String result) 
    {
        this.result = result;
    }

    public String getResult() 
    {
        return result;
    }
    public void setVisitTime(Date visitTime) 
    {
        this.visitTime = visitTime;
    }

    public Date getVisitTime() 
    {
        return visitTime;
    }
    public void setVisitPlanTime(Date visitPlanTime) 
    {
        this.visitPlanTime = visitPlanTime;
    }

    public Date getVisitPlanTime() 
    {
        return visitPlanTime;
    }
    public void setVisitFinishTime(Date visitFinishTime) 
    {
        this.visitFinishTime = visitFinishTime;
    }

    public Date getVisitFinishTime() 
    {
        return visitFinishTime;
    }
    public void setVisitStatus(Integer visitStatus) 
    {
        this.visitStatus = visitStatus;
    }

    public Integer getVisitStatus() 
    {
        return visitStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("clinicPersonId", getClinicPersonId())
            .append("clinicId", getClinicId())
            .append("clinicName", getClinicName())
            .append("visitPerson", getVisitPerson())
            .append("trackStatus", getTrackStatus())
            .append("consumeStatus", getConsumeStatus())
            .append("contet", getContet())
            .append("result", getResult())
            .append("visitTime", getVisitTime())
            .append("visitPlanTime", getVisitPlanTime())
            .append("visitFinishTime", getVisitFinishTime())
            .append("visitStatus", getVisitStatus())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
